
<?php
session_start();
if ($_SESSION["usuario"]) 
    {
?>
<html>
    <head>
        <title>Administracion</title>
    </head>
    <body>

 Estoy logeado
 <br> </br>
 <a href="salir.php"> Salir</a>
 
/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


        </body>
    </html>>
    <?php
    } else {
        echo "<script type='text/javascript'>
    alert('usted no esta logeado');
    window.location='index.php';
    </script>";
        
    }
    ?>
    
    
    
